package com.repair.api.order.request.param;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * @author chunyu
 * @since 2024/10/19,17:53
 */
@Data
public class OrderQueryParam implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer currentPage;

    private Integer pageSize;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate reserveTimeStart;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate reserveTimeEnd;

    private Long serviceCategoryId;

    private String status;

    private String orderNum;

    private String telephone;

    private Long userId;

    private Long workerId;

}
